package com.cug.zfanspring.mapper;


import com.cug.zfanspring.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User loadUserByUsername(@Param("username") String username);
    long reg(User user);
    int deleteUserById(Long uid);
    long editPassword(String name,String newPassword);
}
